package com.koo.modules.api.model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author charlin
 * @since 2019-04-12
 */
public class XXOutOrderDetail implements Serializable, OrderDataInterface {

    private static final long serialVersionUID = 1L;

    private String inspectionDetailId;
    private String storeId;
    private Integer inspectionTypeId;
    private String inspectionOrderNo;
    private String productId;
    private String productCode;
    private String productName;
    private String genericName;
    private String standard;
    private String unit;
    private String producingArea;
    private String produceFactory;
    private String approvalNumber;
    private String dosageForm;
    private Double purchaseAmount;
    private Double qualifiedAmount;
    private String batchNo;
    private String produceDate;
    private String expiryDate;
    private Double purchasePrice;
    private Double purchaseFee;
    private String createUserId;
    private String createUserName;
    private Date createDate;
    private Date modifyDate;
    private String remark;
    /**
     * -1表示删除,0或null表示正常
     */
    private Integer deleteFlag;
    /**
     * g3明细主键
     */
    private String keyNo;
    
    /*非数据库字段*/
    //数据来源, 用于区分哪个企业的商品
    private String dataSource;

    public String getInspectionDetailId() {
        return inspectionDetailId;
    }

    public void setInspectionDetailId(String inspectionDetailId) {
        this.inspectionDetailId = inspectionDetailId;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public Integer getInspectionTypeId() {
        return inspectionTypeId;
    }

    public void setInspectionTypeId(Integer inspectionTypeId) {
        this.inspectionTypeId = inspectionTypeId;
    }

    public String getInspectionOrderNo() {
        return inspectionOrderNo;
    }

    public void setInspectionOrderNo(String inspectionOrderNo) {
        this.inspectionOrderNo = inspectionOrderNo;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getGenericName() {
        return genericName;
    }

    public void setGenericName(String genericName) {
        this.genericName = genericName;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getProducingArea() {
        return producingArea;
    }

    public void setProducingArea(String producingArea) {
        this.producingArea = producingArea;
    }

    public String getProduceFactory() {
        return produceFactory;
    }

    public void setProduceFactory(String produceFactory) {
        this.produceFactory = produceFactory;
    }

    public String getApprovalNumber() {
        return approvalNumber;
    }

    public void setApprovalNumber(String approvalNumber) {
        this.approvalNumber = approvalNumber;
    }

    public String getDosageForm() {
        return dosageForm;
    }

    public void setDosageForm(String dosageForm) {
        this.dosageForm = dosageForm;
    }

    public Double getPurchaseAmount() {
        return purchaseAmount;
    }

    public void setPurchaseAmount(Double purchaseAmount) {
        this.purchaseAmount = purchaseAmount;
    }

    public Double getQualifiedAmount() {
        return qualifiedAmount;
    }

    public void setQualifiedAmount(Double qualifiedAmount) {
        this.qualifiedAmount = qualifiedAmount;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getProduceDate() {
        return produceDate;
    }

    public void setProduceDate(String produceDate) {
        this.produceDate = produceDate;
    }

    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public Double getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(Double purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public Double getPurchaseFee() {
        return purchaseFee;
    }

    public void setPurchaseFee(Double purchaseFee) {
        this.purchaseFee = purchaseFee;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getKeyNo() {
        return keyNo;
    }

    public void setKeyNo(String keyNo) {
        this.keyNo = keyNo;
    }

    @Override
    public String toString() {
        return "XXOutOrderDetail{" +
        ", inspectionDetailId=" + inspectionDetailId +
        ", storeId=" + storeId +
        ", inspectionTypeId=" + inspectionTypeId +
        ", inspectionOrderNo=" + inspectionOrderNo +
        ", productId=" + productId +
        ", productCode=" + productCode +
        ", productName=" + productName +
        ", genericName=" + genericName +
        ", standard=" + standard +
        ", unit=" + unit +
        ", producingArea=" + producingArea +
        ", produceFactory=" + produceFactory +
        ", approvalNumber=" + approvalNumber +
        ", dosageForm=" + dosageForm +
        ", purchaseAmount=" + purchaseAmount +
        ", qualifiedAmount=" + qualifiedAmount +
        ", batchNo=" + batchNo +
        ", produceDate=" + produceDate +
        ", expiryDate=" + expiryDate +
        ", purchasePrice=" + purchasePrice +
        ", purchaseFee=" + purchaseFee +
        ", createUserId=" + createUserId +
        ", createUserName=" + createUserName +
        ", createDate=" + createDate +
        ", modifyDate=" + modifyDate +
        ", remark=" + remark +
        ", deleteFlag=" + deleteFlag +
        ", keyNo=" + keyNo +
        "}";
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }
}
